<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<title>工作汇总</title>
	<script src="__PUBLIC__/Home/SaleManager/js/zepto.min.js"></script>
	<link href="__PUBLIC__/Home/SaleManager/css/stylesheets/weui.min.css" rel="stylesheet">
	<link rel="stylesheet" href="__PUBLIC__/Home/SaleManager/css/stylesheets/index.css">
</head>
<body>
	<div class="workAllSumary">
	  <header class = "all_header" >
			 <a class = "h_back h_back_1" href="javascript:void(0)"><img src="__PUBLIC__/Home/SaleManager/images/back_icon.png" alt=""></a>
			<span class = "h_title">工作汇总</span>
			<a class = "h_add" href="javascript:void(0)"></a>
		</header>
		<div class = "work_tips">共<span>{$count}</span>位</div>
		<volist name="countrylists" id="country">
		<div class="work_lists">
			<div class="work_list">
				<div class="work_header" data-saleId='{$country.id}'>
					<div style = "flex: 1;">
						<img class = 'work_icon' src="__PUBLIC__/Home/SaleManager/images/people.png" alt="">
						<span class = "work_name">{$country.real_name}</span>
					</div>
					<span class="weui-cell__ft"></span>
				</div>
				<div class="work_odd">
					<span>省总数量</span>
					<span><span class = "work_nums">{$country.stastics.provincecount}</span>个</span>
				</div>
				<div class="work_odd">
					<span>地总数量</span>
					<span><span class = "work_nums">{$country.stastics.citycount}</span>个</span>
				</div>
				<div class="work_odd">
					<span>县总数量</span>
					<span><span class = "work_nums">{$country.stastics.countycount}</span>个</span>
				</div>
				<div class="work_odd">
					<span>业务员数量</span>
					<span><span class = "work_nums">{$country.stastics.salemanNum}</span>个</span>
				</div>
				<div class="work_even">
					<span>目标诊所</span>
					<span><span class = "work_nums">{$country.stastics.clinicSumNum}</span>个</span>
				</div>
				<div class="work_odd">
					<span>诊所数量</span>
					<span><span class = "work_nums">{$country.stastics.clinicNum}</span>个</span>
				</div>
				<div class="work_even">
					<span>医生数量</span>
					<span><span class = "work_nums">{$country.stastics.doctorNum}</span>个</span>
				</div>
				<div class="work_odd">
					<span>拜访次数</span>
					<span><span class = "work_nums">{$country.stastics.salmanVisitNum}</span>次</span>
				</div>
				<div class="work_even">
					<span>申请统计</span>
					<span><span class = "work_nums">{$country.stastics.salemanApplyNum}</span>次</span>
				</div>
				<div class="work_odd">
					<span>销售统计</span>
					<span><span class = "work_nums">{$country.stastics.salemanOrderNum}</span>元</span>
				</div>
				<div class="work_even">
					<span>订货统计</span>
					<span><span class = "work_nums">{$country.stastics.salemanPrice}</span>元</span>
				</div>
				<div class="work_odd">
					<span>退货统计</span>
					<span><span class = "work_nums">{$country.stastics.quitePrice}</span>元</span>
				</div>
			</div>
		</div>
		</volist>
	</div>
	<script src = "__PUBLIC__/Home/SaleManager/js/index.js"></script>
	<script src = "__SaleManager__/js/androidback.js"></script>
<script>
$(".workAllSumary").on("click",".work_header",function () {
	saleId=$(this).attr('data-saleId');
	window.location.href = "/Home/WorkSummary/SaleSummary/index/saleId/"+saleId+"/year/{$year}";
});
</script>
</body>
</html>